package com.psp.bu.model;

import java.util.Date;

public class ProductBean {
	private Integer pcode;//
	private String pid;//
	private String title; // 商品名称
	private Integer type; // 服务类型：1服务，2实物
	private String subTitle; // 商品介绍
	private String img; // 商品配图
	private String serviceContent; // 商品内容
	private String serviceSafe; // 商品保障
	private Double price; // 价格
	private Integer quoteType; // 报价方式：1一口价，2沟通报价
	private String linkMan; // 联系人
	private String telephone; // 联系电话
	private Integer hasInvoice; // 是否有发票:1有0无
	private Date createTime;//
	private Double satisfaction;// 满意度
	private Integer state;// 状态：0在售，1下架
	private Date onShelfDate;
	private Date offShelfDate;
	private Integer isDelete;// 是否删除 1未删除 2删除

	private String parentCode;// 服务分类支线
	private Integer typeCode; // 分类

	public Integer getPcode() {
		return pcode;
	}

	public void setPcode(Integer pcode) {
		this.pcode = pcode;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getSubTitle() {
		return subTitle;
	}

	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getServiceContent() {
		return serviceContent;
	}

	public void setServiceContent(String serviceContent) {
		this.serviceContent = serviceContent;
	}

	public String getServiceSafe() {
		return serviceSafe;
	}

	public void setServiceSafe(String serviceSafe) {
		this.serviceSafe = serviceSafe;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getQuoteType() {
		return quoteType;
	}

	public void setQuoteType(Integer quoteType) {
		this.quoteType = quoteType;
	}

	public String getLinkMan() {
		return linkMan;
	}

	public void setLinkMan(String linkMan) {
		this.linkMan = linkMan;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Integer getHasInvoice() {
		return hasInvoice;
	}

	public void setHasInvoice(Integer hasInvoice) {
		this.hasInvoice = hasInvoice;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Double getSatisfaction() {
		return satisfaction;
	}

	public void setSatisfaction(Double satisfaction) {
		this.satisfaction = satisfaction;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getOnShelfDate() {
		return onShelfDate;
	}

	public void setOnShelfDate(Date onShelfDate) {
		this.onShelfDate = onShelfDate;
	}

	public Date getOffShelfDate() {
		return offShelfDate;
	}

	public void setOffShelfDate(Date offShelfDate) {
		this.offShelfDate = offShelfDate;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getTypeCode() {
		return typeCode;
	}

	public void setTypeCode(Integer typeCode) {
		this.typeCode = typeCode;
	}

	public String getParentCode() {
		return parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	@Override
	public String toString() {
		return "ProductBean [pcode=" + pcode + ", pid=" + pid + ", title=" + title + ", type=" + type + ", subTitle="
				+ subTitle + ", img=" + img + ", serviceContent=" + serviceContent + ", serviceSafe=" + serviceSafe
				+ ", price=" + price + ", quoteType=" + quoteType + ", linkMan=" + linkMan + ", telephone=" + telephone
				+ ", hasInvoice=" + hasInvoice + ", createTime=" + createTime + ", satisfaction=" + satisfaction
				+ ", state=" + state + ", onShelfDate=" + onShelfDate + ", offShelfDate=" + offShelfDate + ", isDelete="
				+ isDelete + "]";
	}

}
